package com.he.security.rsocket.metadata;

import org.springframework.http.MediaType;
import org.springframework.util.MimeType;

public final class UsernamePasswordMetadata {
    @Deprecated
    public static final MimeType BASIC_AUTHENTICATION_MIME_TYPE = new MediaType("message", "x.rsocket.authentication.basic.v0");

    private final String username;
    private final String password;


    public UsernamePasswordMetadata(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }
}
